body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #E8E8E8 ;
    font-size: 1.6rem;
}
header{
    width: 100%;
    /* height: 200px; */
    background: #fff;
    margin-bottom: 2rem;
    padding: 4% 5%;
}
header section{
    margin-top: 3%;
    display: flex;
    align-items: center;
}
header .pic{
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    border: 1px solid #4294FF;
    margin-right: 1rem;
    background-color: #eee;
    text-align: center;
    line-height: 11rem;
    position: relative;
}
header .pic .user-pic{
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
}
header .pic img{
    width: 3rem;
    position: absolute;
    right: 0;
    bottom: 0;
}
header .pic input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
header section span{
    font-size: 2rem;
}
header p{
    margin-top: 1.5rem;
    color: #666;
}

/* 主体内容 */
main{
    width: 100%;
    flex: 1;
    overflow-y: auto;
}
main section{
    padding: 4% 5%;
    background-color: #fff;
    margin-bottom: 2rem;
}
/* 共用标题 */
.title{
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.title span i{
    color: #4294FF;
    margin-right: 0.5rem;
    font-size: 1.6rem !important;
}
.title>i{
    color: #999;
    font-size: 2rem !important;
}
/* 运动数据 */
.sports-data ul{
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    margin-top: 2rem;
}
.sports-data ul li:nth-child(2){
    border-right: 1px dashed #999;
}
.sports-data ul p{
    margin-top: 2rem;
}
.sports-data ul p span{
    font-size: 4rem;
    color: #4294FF;
}


/* 我的运动徽章 */
main .badges{
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}
main .badges div{
    width: 9rem;
    height: 9rem;
    border: 1px solid #999;
    border-radius: 50%;
}
/* 退出登录 */
main .back{
    color: #4294FF;
    text-align: center;
}